﻿using MediatR;
using T.Vehicleservice.Domain.Dtos;
using T.Vehicleservice.Domain.T.MaintenanceRecord.Model;
using T.Vehicleservice.Domain.T.Vehicleservice.Model;

namespace T.Vehicleservice.Read.API.Application.Command.MaintenancesRecordCommand
{
    /// <summary>
    /// 显示保养信息
    /// </summary>
    public class MaintenanceRecordListCommand: IRequest<PageDto<MaintenancesRecord>>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 保养负责人
        /// </summary>
        public string? MaintenanceHead { get; set; }
        /// <summary>
        /// 当前保养日期
        /// </summary>
        public DateTime? CurrentMileageDate { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicensePlateNumber { get; set; }
        /// <summary>
        /// 索引页
        /// </summary>
        public int? PageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int? PageSize { get; set; }
    }
}
